#ifndef USERSDB_H
#define USERSDB_H

#include <QObject>
#include <QList>
#include <QString>
#include "common/common.h"

class UsersDB : public QObject
{
    Q_OBJECT
public:
    explicit UsersDB(QObject *parent = 0);

signals:

public slots:
    QList<QString> getUsersName();
    QString getUsersMaxScore(const QString &username);
    UserModel getUserInfo();
    void creatUserInfo(const QString &username);
    void updateIsUsing(const QString &username);
    void updateParam( const UserModel &user);
    void updateMaxScore(const QString &score);
    bool isUserRepeat(const QString &username);
    int getFontSize(const QString &username);

private:

};

#endif // USERSDB_H
